<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试代码7</title>
</head>
<tbody>
    <!-- cellspacing控制边框长度 -->
    <table border = "1px"width= "500px"height = "300px"cellspacing = "0"cellpadding = "50"align = "center">
        <thead>
        <tr>
            <th>姓名</th>
            <th>性别</th>
            <th>年龄</th>
        </tr>
    </thead>
        <tr>
            <td>张三</td>
            <td>男</td>
            <td>12</td>
        </tr>
        <tr>
            <td>李四</td>
            <td>男</td>
            <td>10</td>
        </tr>
    </table>
</tbody>
</html>